package com.websuites.webservice;

import java.util.List;

public class BexResult implements IBexResult{

	private String flag;
	private String prompt;
	private String code;
	private int length=0;
	private List<IResultData> data;
	
	public String getFlag() 
	{
		return flag;
	}
	
	public void setFlag(String flag) 
	{
		this.flag = flag;
	}
	
	public String getPrompt() 
	{
		return prompt;
	}
	
	public void setPrompt(String prompt) 
	{
		this.prompt = prompt;
	}
	
	public String getCode() 
	{
		return code;
	}
	
	public void setCode(String code) 
	{
		this.code = code;
	}
	
	public int getLength() 
	{
		return length;
	}
	
	public void setLength(int length) 
	{
		this.length = length;
	}
	
	public List<IResultData> getData() 
	{
		return data;
	}
	
	public void setData(List<IResultData> datas) 
	{
		this.data = datas;
		this.length = datas.size();
	}
}
